﻿<%@ Page Language="C#" MasterPageFile="~/ClientSite.Master" AutoEventWireup="true"
    CodeBehind="Search.aspx.cs" Inherits="SES.CMS.Search2" Title="Tìm kiếm" %>

<%@ Register Src="Module/ucLeftMenu.ascx" TagName="ucLeftMenu" TagPrefix="uc2" %>
<%@ Register Src="Module/ucRightMenu.ascx" TagName="ucRightMenu" TagPrefix="uc3" %>
<%@ Register Src="Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc5" %>
<%@ Register Src="Module/ucHoTro.ascx" TagName="ucHoTro" TagPrefix="uc6" %>
<%@ Register Src="Module/ucShopInfo.ascx" TagName="ucShopInfo" TagPrefix="uc7" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Style-2-Left">
        <uc2:ucLeftMenu ID="ucLeftMenu1" runat="server" />
        <uc7:ucShopInfo ID="ucShopInfo1" runat="server" />
        <uc6:ucHoTro ID="ucHoTro1" runat="server" />
    </div>
    <div class="Style-2-Right">
        <uc5:ucBreadcrumb runat="server" ID="brc1" />
        <asp:Label ID="lblInfo" CssClass="lbtk" runat="server"></asp:Label><br />
        <ul class="sanPham">
            <asp:Repeater runat="server" ID="rpt">
                <ItemTemplate>
                    <li><a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString())%>'>
                        <img src='/Media/<%#Eval("HinhAnh")%>' title='<%#Eval("TenSanPham")%>' alt='<%#Eval("TenSanPham")%>'
                            class="bear" />
                        <p class="pSanPham">
                            <span class="spanTenSanPham">
                                <%#Eval("TenSanPham")%>
                            </span>
                        </p>
                        <p class="pSanPham">
                            <span class="spanDonGia">
                                <%#(bool)(Int64.Parse(Eval("DonGia").ToString()) == 0) ? "Liên hệ" : Eval("DonGia", "{0:0,0} đ")%>
                            </span>
                        </p>
                    </a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
        <div style="width: 100%; float: left; margin-top: 10px;">
            <div style="float: left;">
                <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                    ImageUrl="~/images/prevpage.png" /></div>
            <div style="float: right;">
                <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                    ImageUrl="~/images/nextpage.png" /></div>
        </div>
    </div>
</asp:Content>
